package org.yxt.message.push.config.listener;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;

/**
 * 监听系统启动
 *
 * @author YangXiuteng
 * @time 2020/4/20 9:53
 **/
@Slf4j
public class StartListener implements ApplicationListener<ContextRefreshedEvent> {

    @Override
    public void onApplicationEvent(ContextRefreshedEvent contextRefreshedEvent) {
        log.info("应用启动 ===>");
    }
}
